//---------------------------------------------------------------------------
#ifndef CPIndH
#define CPIndH

//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "Cadpad.h"
#include "CGAUGES.h"
#include "PHDS.h"
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include "PHGridEd.h"
#include <Grids.hpp>
#include "PHEdit.h"
#include "PHLabel.h"
#include "PHSpdBut.h"

//---------------------------------------------------------------------------
class TCPInd1 : public TCadPad1
{
__published:  // IDE-managed Components
  PHGridEdit*  PHGridEdit1;
  PHGridEdit*  PHGridEdit2;
  PHDataSource*  DS1;
  TLabel*  Label1;
 TPanel *Panel3;
 TBitBtn *BitBtn2;
 TLabel *Label2;
 TLabel *Label3;
 TLabel *Label4;
 TLabel *Label5;
    void __fastcall FormDestroy( TObject* Sender );
    void __fastcall DS1StateChange( Estados State );
    void __fastcall FormShow( TObject* Sender );
    void __fastcall PHDS1StateChange( Estados State );
    void __fastcall DS1BeforePost( TObject* Sender );
    void __fastcall PHDS1AfterRead( TObject* Sender );
    void __fastcall PHDS1BeforeDelete( TObject* Sender );
    void __fastcall BitBtn2Click(TObject *Sender);
 void __fastcall PHGridEdit2Click(TObject *Sender);
 void __fastcall PHGridEdit1Click(TObject *Sender);
 void __fastcall DS1AfterRead(TObject *Sender);
private: // User declarations
    AnsiString MesAno;
    AnsiString NomeIndice;
    void __fastcall SetMesAno(void);
    AnsiString __fastcall GetMesAno(void);
    AnsiString __fastcall GetNomeIndice(void);
    void __fastcall SetNomeIndice(void);
    void __fastcall ExcluiReajustes(TObject *Sender);
public: // User declarations
  __fastcall TCPInd1( TComponent* Owner );
};

//---------------------------------------------------------------------------
extern PACKAGE TCPInd1*  CPInd1;

//---------------------------------------------------------------------------
#endif

